package com.spring.demo.spring.core.context;

import org.springframework.beans.BeansException;
import org.springframework.lang.Nullable;

/**
 * @Author RenPu
 * @Date 2024/2/15 23:35
 * @Version 1.0
 * @Description:
 **/
public interface BeanPostProcessor {

    default Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
        return bean;
    }


    default Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
        return bean;
    }
}
